package com.myphoto.base.util;

import org.springframework.beans.factory.annotation.Value;

public class ConstantsCookie {

	//项目名称
	@Value(value = "${spring.application.name}")
	public static String XMMC;
	//用户代码
	public static final String YHDM = "_"+XMMC+"_yhdm";
	//用户名称
	public static final String YHMC = "_"+XMMC+"_yhmc";
	//岗位代码（多个代码以逗号分隔）
	public static final String GWDM = "_"+XMMC+"_gwdm";
	//验证码
	public static final String YZM = "_"+XMMC+"_random";
	//KEY
	public static final String KEY = "_"+XMMC+"_key";
	//TICKET
	public static final String TICKET = "_"+XMMC+"_ticket";
	//最后有效访问时间
	public static final String LAST_ACCESS = "_"+XMMC+"_timestamp";
	//AES加解密的密钥
	public static final String DEFAULT_SECRET_KEY = "6OCMGC7bj3wYji3N1dhDGA==";

}
